//---------------------------------------------------------------------------

#include "vcl_stl.h"
#pragma hdrstop

#include "t_confirmform.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TConfirmForm *ConfirmForm;
//---------------------------------------------------------------------------
__fastcall TConfirmForm::TConfirmForm(TComponent* Owner)
   : TForm(Owner)
{
}
//---------------------------------------------------------------------------
int __fastcall TConfirmForm::MessageDlg(const UTF8String &Message)
{
   FResult = mrCancel;
   Label1->Caption = Message;
   ShowModal();
   return FResult;
}
void __fastcall TConfirmForm::ButtonYesClick(TObject *Sender)
{
   FResult = mrYes;
   Close();
}
//---------------------------------------------------------------------------

void __fastcall TConfirmForm::ButtonNoClick(TObject *Sender)
{
   FResult = mrNo;
   Close();
}
//---------------------------------------------------------------------------
void __fastcall TConfirmForm::ButtonCancelClick(TObject *Sender)
{
   Close();
}
//---------------------------------------------------------------------------
